# import requests
#
# url = 'https://www.baidu.com/'
#
# headers = {
#     'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36'
# }
#
# # pip install pyopenssl --upgrade
# response = requests.get(url, headers=headers, verify=False)
# print(response, response.text)

import json
from selenium import webdriver

dict_a = {
    'name': 'kuangjiazhuo',
    'age': 18,
    'job': 'software engineer',
}

print(type(dict_a), dict_a)

json_a = json.dumps(dict_a)
print(type(json_a), json_a)

dict_json_a = json.loads(json_a)
print(type(dict_json_a), dict_json_a)